package com.dark.sys.web.dto;

import java.util.List;

import com.dark.sys.entity.Resource;

public class ResourceDto extends Resource {

	private static final long serialVersionUID = 1L;

	private Integer menuId ;
	
	private String text ;
	
	private Object attributes ;
	
	private List<ResourceDto> children ;
	
	private List<ResourceDto> operations ;
	
	/** 是否初始化【增／删／改／查】操作 */
	private Boolean initCrud = Boolean.FALSE;

	/** 是否过滤类型为操作的资源，true：过滤 */
	private Boolean filterType = Boolean.FALSE;
	
	public Boolean getFilterType() {
		return filterType;
	}

	public void setFilterType(Boolean filterType) {
		this.filterType = filterType;
	}

	public List<ResourceDto> getOperations() {
		return operations;
	}

	public void setOperations(List<ResourceDto> operations) {
		this.operations = operations;
	}

	public Boolean getInitCrud() {
		return initCrud;
	}

	public void setInitCrud(Boolean initCrud) {
		this.initCrud = initCrud;
	}

	public Integer getMenuId() {
		return menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Object getAttributes() {
		return attributes;
	}

	public void setAttributes(Object attributes) {
		this.attributes = attributes;
	}

	public List<ResourceDto> getChildren() {
		return children;
	}

	public void setChildren(List<ResourceDto> children) {
		this.children = children;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
